package com.atled.users;

import java.util.List;

import com.atled.attractions.Attraction;
import com.atled.companies.Company;
import com.atled.data.collections.CollectionByUid;
import com.atled.jobs.Job;

public class StandardUser implements User {

	private int userUid;
	private String name;
	private String email;
	private CollectionByUid<Company> companies;
	private CollectionByUid<Job> jobs;
	private CollectionByUid<Attraction> createdAttractions;

	@Override
	public int getUid() {
		return userUid;
	}

	@Override
	public String getName() {
		return name;
	}

	@Override
	public String getEmail() {
		return email;
	}
	
	@Override
	public List<Company> getCompanies() {
		return companies.getList();
	}
	
	@Override
	public List<Job> getJobs() {
		return jobs.getList();
	}

	@Override
	public List<Attraction> getCreatedAttractions() {
		return createdAttractions.getList();
	}
}
